package boot.spring.mapper;

import java.util.List;

import boot.spring.po.User;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper {
    List<User> getusers();

    User getUserByid(int id);

    void deleteuser(int uid);

    void deleteuserrole(int uid);

    void adduser(User user);

    void updateByPrimaryKeySelective(User user);

    int getUidByusername(String username);
}
